package com.guoxin.artconcurrency.chapter3;

/**
 * @author Administrator
 */
public class SynchronizedTest {

    public synchronized void test(){
        System.out.println(123);
    }

    public static void main(String[] args) {
        SynchronizedTest test = new SynchronizedTest();
        test.test();
    }

}
